Shopglut\wishlist\dataManage D

Total Complexity 357
Dependencies 0
Dependents 1
Total lines 1,982
Lines of code 1,541
Logical lines of code 1,059
Comment lines 173
Methods 44
Properties 2

Methods 44

Method Rating Maintainability Complexity Lines of code
toggle_wishlist_callback()
D
17
45 336
render_account_wishlist_table()
D
31 32 104
render_wishlist_table()
D
31 32 104
shopglut_add_wishlist_button_category()
B
34 22 84
shopglut_wishlist_shortcode()
B
39 23 56
shopglut_account_wishlist()
B
39 22 56
shopglut_add_wishlist_button_single()
B
36 16 78
shopglut_add_wishlist_button_shop()
B
37 16 69
shopglut_remove_from_wishlist()
A
43 12 46
add_actions()
A
39 8 61
add_product_to_wishlist_sublist()
A
49 9 28
save_list_notification_preferences()
A
45 8 38
shopglut_send_email_notification()
A
47 8 35
merge_guest_wishlist()
A
48 8 31
shopglut_product_update_handler()
A
54 8 21
schedule_email_events()
A
53 8 21
shopglut_check_notifications()
A
54 8 19
send_scheduled_wishlist_emails()
S
54 7 19
get_wishlist_product_titles_by_email()
S
52 6 24
create_wishlist_sublist()
S
48 4 35
add_subwishlist_modal()
S
48 3 46
wishlist_add_to_cart()
S
61 5 11
handle_email_cron()
S
62 4 11
delete_wishlist_sublist()
S
54 3 19
send_email_to_user()
S
55 3 17
get_wishlist_items()
S
57 2 18
get_user_notifications()
S
56 2 16
shopglut_add_to_cart_and_checkout()
S
64 3 9
determine_archive_hook_position()
S
66 3 10
determine_shop_hook_position()
S
66 3 10
determine_hook_position()
S
65 3 10
add_notification_modal()
S
54 1 29
__construct()
S
65 2 9
get_wishlist_sublists()
S
66 2 7
get_shopglutw_guest_user_id()
S
71 2 6
load_account_wishlist_content()
S
66 2 9
load_wishlist_content()
S
65 2 9
add_my_account_endpoint()
S
73 2 4
add_my_account_menu_item()
S
66 2 7
get_instance()
S
70 2 7
generate_cron_token()
S
80 1 3
register_email_cron_endpoint()
S
79 1 3
my_account_wishlist_content()
S
81 1 3
set_merge_wishlist_transient()
S
78 1 3